{% extends 'main.html' %}

{% block content %}
    <div>
        <form method="POST" action="">
            {% csrf_token %}
            {{ form.as_p }}  {# 把form作为下划线p格式 #}
            <input type="submit" value="提交">

        </form>
    </div>

{% endblock content %}